import sqlite3

conn = sqlite3.connect("test.db")
cs = conn.cursor()
cs.execute("create table if not exists info(id)")
cs.execute("insert into info values(1)")
conn.commit()
res = cs.execute("select * from info")
data = res.fetchall()
print(data)
